package cn.linstudy.service;


import cn.linstudy.domain.Employee;
import cn.linstudy.qo.EmployeeQueryObject;
import cn.linstudy.qo.PageResult;
import cn.linstudy.result.ResponseResult;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Description Employee业务类接口
 * @Author XiaoLin
 * @Date 2021/3/2 16:40
 */
@Mapper
public interface EmployeeService {

  ResponseResult add(Employee employee);

  ResponseResult delete(Long id);

  ResponseResult update(Employee employee);


  ResponseResult listOneById(Long id);

  PageResult<Employee> listForPage(EmployeeQueryObject qo);

  List<Employee> listAll();
}
